C# Class Disco.Services.Expressions.Extensions.UserExt

Datei anzeigen Open project: garysharp/Disco

Public Methods

Method Description
GetActiveDirectoryIntegerValue ( User User, string PropertyName, int Index ) : int
GetActiveDirectoryObjectValue ( User User, string PropertyName, int Index ) : object
GetActiveDirectoryStringValue ( User User, string PropertyName, int Index ) : string
HasAuthorization ( User User, string Claim ) : bool
HasAuthorizationAll ( User User ) : bool
HasAuthorizationAny ( User User ) : bool

Method Details

GetActiveDirectoryIntegerValue() public static method

public static GetActiveDirectoryIntegerValue ( User User, string PropertyName, int Index ) : int
User Disco.Models.Repository.User
PropertyName string
Index int
return int

GetActiveDirectoryObjectValue() public static method

public static GetActiveDirectoryObjectValue ( User User, string PropertyName, int Index ) : object
User Disco.Models.Repository.User
PropertyName string
Index int
return object

GetActiveDirectoryStringValue() public static method

public static GetActiveDirectoryStringValue ( User User, string PropertyName, int Index ) : string
User Disco.Models.Repository.User
PropertyName string
Index int
return string

HasAuthorization() public static method

public static HasAuthorization ( User User, string Claim ) : bool
User Disco.Models.Repository.User
Claim string
return bool

HasAuthorizationAll() public static method

public static HasAuthorizationAll ( User User ) : bool
User Disco.Models.Repository.User
return bool

HasAuthorizationAny() public static method

public static HasAuthorizationAny ( User User ) : bool
User Disco.Models.Repository.User
return bool