Principal.ExtensionSet(String, Object) Principal.ExtensionSet(String, Object) Principal.ExtensionSet(String, Object) Principal.ExtensionSet(String, Object) Method

Definition

Sets the value of an attribute in an extended class.

protected:
 void ExtensionSet(System::String ^ attribute, System::Object ^ value);
[System.Security.SecurityCritical]
protected void ExtensionSet (string attribute, object value);
member this.ExtensionSet : string * obj -> unit
Protected Sub ExtensionSet (attribute As String, value As Object)

Parameters

attribute
String String String String

The name of the attribute.

value
Object Object Object Object

The object that contains the value of the attribute.

Remarks

See System.DirectoryServices.AccountManagement Principle Extensions for an example of this function.

Applies to

See also