CauBaseCommand.CheckPrivilege Method (PSCredential)
Checks the user's privileges on the cluster.
Namespace: Microsoft.ClusterAwareUpdating.Commands
Assembly: ClusterAwareUpdating (in ClusterAwareUpdating.dll)
Syntax
protected void CheckPrivilege(
PSCredential credential
)
protected:
void CheckPrivilege(
PSCredential^ credential
)
member CheckPrivilege :
credential:PSCredential -> unit
Protected Sub CheckPrivilege (
credential As PSCredential
)
Parameters
credential
Type: System.Management.Automation.PSCredentialSpecifies the credential to be used for impersonating a different user.
Remarks
If the credential parameter is null, then a user is not impersonated.
See Also
CauBaseCommand Class
Microsoft.ClusterAwareUpdating.Commands Namespace
Return to top