C# Class SecurityWrapper, Warewolf

Provides a wrapper to the LSA classes
Inheritance: ISecurityWrapper
Mostra file Open project: Warewolf-ESB/Warewolf Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Disposes of this LSA wrapper

IsWarewolfAuthorised ( string privilege, string userName, string resourceGuid ) : bool

Private Methods

Method Description
CleanUser ( string userName ) : string
FetchSchedulerGroups ( ) : IEnumerable
GetLocalUserGroupsForTaskSchedule ( string userName ) : IEnumerable
InitLsaString ( string Value ) : LSA_UNICODE_STRING,

Converts the specified string to an LSA string value

IsWindowsAuthorised ( string privilege, string userName ) : bool
ResolveAccountName ( System.Security.Principal.SecurityIdentifier SID ) : String
SecurityWrapper ( IAuthorizationService authorizationService ) : System
SecurityWrapper ( string MachineName ) : System
TestReturnValue ( uint ReturnValue ) : void

Method Details

Dispose() public method

Disposes of this LSA wrapper
public Dispose ( ) : void
return void

IsWarewolfAuthorised() public method

public IsWarewolfAuthorised ( string privilege, string userName, string resourceGuid ) : bool
privilege string
userName string
resourceGuid string
return bool