C# Class CtcApi.ApplicationContext

显示文件 Open project: BellevueCollege/CtcApi Class Usage Examples

Private Properties

Property Type Description
GetCurrentDate System.DateTime
GetCurrentUser string
GetCurrentUser string

Private Methods

Method Description
GetCurrentDate ( ) : System.DateTime

Retrieves "current" date from the .config file.

GetCurrentUser ( ) : string

Gets the WindowsIdentity.Name or UserPrincipal.UserPrincipalName of the currently executing context.

GetCurrentUser ( string user ) : string

Gets the WindowsIdentity.Name or UserPrincipal.UserPrincipalName of the currently executing context.