Partilhar via


PropertyInfo.AllowPolicyOverride Property

Gets or sets a value that specifies whether the site administrator can override the default user profile policy.

Namespace:  [UserProfileService Web service]
Web service reference: http://Site/_vti_bin/UserProfileService.asmx

Syntax

'Declaration
Public Property AllowPolicyOverride As Boolean
    Get
    Set
'Usage
Dim instance As PropertyInfo
Dim value As Boolean

value = instance.AllowPolicyOverride

instance.AllowPolicyOverride = value
public bool AllowPolicyOverride { get; set; }

Property Value

Type: System.Boolean
true if the site administrator can override the policy; otherwise, false.

Remarks

The default value is false.

See Also

Reference

PropertyInfo Class

PropertyInfo Members

UserProfileService Web Service