C# Class CatbertManager, PTF

Show file Open project: ucdavis/PTF Class Usage Examples

Public Properties

Property Type Description
HASH string
catops CatOps.CatbertWebService

Public Methods

Method Description
AddUserToRole ( CatOps user, CatOps role ) : bool
AddUserToRole ( string login, int roleID ) : bool
AddUserToUnit ( string login, int UnitID ) : bool
CatbertManager ( ) : System
GetRolesByUser ( string login ) : CatOps.Roles[]
InsertNewUser ( CatOps user ) : int
InsertNewUser ( string login ) : int
RemoveUserFromRole ( int roleID, string login ) : bool
RemoveUserFromUnit ( string login, int UnitID ) : bool
SearchCampusUser ( string loginID ) : CatOps.Users[]
SetSecurityContext ( ) : void
VerifyUser ( string login ) : bool

Private Methods

Method Description
GetRoles ( ) : CatOps.Roles[]
GetUnits ( ) : CatOps.Units[]
GetUsersInApplication ( ) : CatOps.CatbertUsers[]
GetUsersInApplication ( string sortExp ) : CatOps.CatbertUsers[]
SearchNewUsersByLogin ( string login ) : CatOps.Users[]
SearchNewUsersByLogin ( string EmployeeID, string FirstName, string LastName, string LoginID ) : CatOps.Users[]

Method Details

AddUserToRole() public static method

public static AddUserToRole ( CatOps user, CatOps role ) : bool
user CatOps
role CatOps
return bool

AddUserToRole() public static method

public static AddUserToRole ( string login, int roleID ) : bool
login string
roleID int
return bool

AddUserToUnit() public static method

public static AddUserToUnit ( string login, int UnitID ) : bool
login string
UnitID int
return bool

CatbertManager() public method

public CatbertManager ( ) : System
return System

GetRolesByUser() public static method

public static GetRolesByUser ( string login ) : CatOps.Roles[]
login string
return CatOps.Roles[]

InsertNewUser() public static method

public static InsertNewUser ( CatOps user ) : int
user CatOps
return int

InsertNewUser() public static method

public static InsertNewUser ( string login ) : int
login string
return int

RemoveUserFromRole() public static method

public static RemoveUserFromRole ( int roleID, string login ) : bool
roleID int
login string
return bool

RemoveUserFromUnit() public static method

public static RemoveUserFromUnit ( string login, int UnitID ) : bool
login string
UnitID int
return bool

SearchCampusUser() public static method

public static SearchCampusUser ( string loginID ) : CatOps.Users[]
loginID string
return CatOps.Users[]

SetSecurityContext() public static method

public static SetSecurityContext ( ) : void
return void

VerifyUser() public static method

public static VerifyUser ( string login ) : bool
login string
return bool

Property Details

HASH public static property

public static string HASH
return string

catops public static property

public static CatOps.CatbertWebService catops
return CatOps.CatbertWebService