ExtensionMethodsTryGetAuthorization Method
Namespace: Centralpoint.Web.AuthorizationAssembly: Centralpoint.Web (in Centralpoint.Web.dll) Version: 1.0.0.0 (1.0.0.0)
public static bool TryGetAuthorization(
this AuthorizationType type,
Management management,
string authorizationDataId,
string authorizationOffline,
out CpCollection authInfo,
out IUser user
)
<ExtensionAttribute>
Public Shared Function TryGetAuthorization (
type As AuthorizationType,
management As Management,
authorizationDataId As String,
authorizationOffline As String,
<OutAttribute> ByRef authInfo As CpCollection,
<OutAttribute> ByRef user As IUser
) As Boolean
- type AuthorizationType
-
- management Management
-
- authorizationDataId String
-
- authorizationOffline String
-
- authInfo CpCollection
-
- user IUser
-
BooleanIn Visual Basic and C#, you can call this method as an instance method on any object of type
AuthorizationType. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).