gov.va.medora.mdo.api.UserApi.getUserId C# (CSharp) Méthode

getUserId() public méthode

public getUserId ( ConnectionSet cxns, string>.KeyValuePair param ) : IndexedHashtable
cxns gov.va.medora.mdo.dao.ConnectionSet
param string>.KeyValuePair
Résultat IndexedHashtable
        public IndexedHashtable getUserId(ConnectionSet cxns, KeyValuePair<string, string> param)
        {
            return cxns.query(DAO_NAME, "getUserId", new object[] { param });
        }

Same methods

UserApi::getUserId ( gov.va.medora.mdo.dao.AbstractConnection cxn, string>.KeyValuePair param ) : string

Usage Example

Exemple #1
0
 public TaggedTextArray getUserIdBySSN(string SSN)
 {
     TaggedTextArray result = new TaggedTextArray();
     if (SSN == "")
     {
         result.fault = new FaultTO("Missing SSN");
     }
     if (result.fault != null)
     {
         return result;
     }
     try
     {
         UserApi api = new UserApi();
         IndexedHashtable t = api.getUserId(mySession.ConnectionSet, new System.Collections.Generic.KeyValuePair<string, string>("SSN", SSN));
         result = new TaggedTextArray(t);
     }
     catch (Exception e)
     {
         result.fault = new FaultTO(e.Message);
     }
     return result;
 }