C# Class GuaranteedRate.Sextant.EncompassUtils.UserUtils

Afficher le fichier Open project: Guaranteed-Rate/GuaranteedRate.Sextant

Méthodes publiques

Méthode Description
GetAllActiveUsers ( this session ) : ICollection
GetAllUsers ( this session ) : ICollection
GetAllUsersInWorkFolder ( this session, string workFolder ) : ICollection
GetEncompassInfo ( User user ) : object>.IDictionary

Similar to the json user extraction, but this function gives a little more control

GetLicensingInfo ( User user ) : object>.IDictionary

Get both state and national licensing info

GetStateLicensing ( User user, bool full ) : string>>.IList

Builds a dictionary of state licensing info for the user

ToJson ( this user ) : string
ToJson ( this users ) : string
TryForceCompanyWidePasswordChange ( this session, ICollection exceptionUserIds, string &exception ) : bool

Method Details

GetAllActiveUsers() public static méthode

public static GetAllActiveUsers ( this session ) : ICollection
session this
Résultat ICollection

GetAllUsers() public static méthode

public static GetAllUsers ( this session ) : ICollection
session this
Résultat ICollection

GetAllUsersInWorkFolder() public static méthode

public static GetAllUsersInWorkFolder ( this session, string workFolder ) : ICollection
session this
workFolder string
Résultat ICollection

GetEncompassInfo() public static méthode

Similar to the json user extraction, but this function gives a little more control
public static GetEncompassInfo ( User user ) : object>.IDictionary
user User
Résultat object>.IDictionary

GetLicensingInfo() public static méthode

Get both state and national licensing info
public static GetLicensingInfo ( User user ) : object>.IDictionary
user User
Résultat object>.IDictionary

GetStateLicensing() public static méthode

Builds a dictionary of state licensing info for the user
public static GetStateLicensing ( User user, bool full ) : string>>.IList
user User
full bool is a flag that will add a bunch of mostly meaningless fields to the dictionary
Résultat string>>.IList

ToJson() public static méthode

public static ToJson ( this user ) : string
user this
Résultat string

ToJson() public static méthode

public static ToJson ( this users ) : string
users this
Résultat string

TryForceCompanyWidePasswordChange() public static méthode

public static TryForceCompanyWidePasswordChange ( this session, ICollection exceptionUserIds, string &exception ) : bool
session this
exceptionUserIds ICollection
exception string
Résultat bool