共用方式為


MembershipInfo Constructor (String, Byte )

Initializes a new instance of the MembershipInfo class with the specified user or group name and security identifier (SID).

Namespace:  Microsoft.Office.Server.Audience
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Sub New ( _
    cn As String, _
    SID As Byte() _
)
'Usage
Dim cn As String
Dim SID As Byte()

Dim instance As New MembershipInfo(cn, SID)
public MembershipInfo(
    string cn,
    byte[] SID
)

Parameters

  • cn
    Type: System.String

    Name that identifies this user or group.

  • SID
    Type: []

    Security identifier (SID) that uniquely identifies this user or group name.

Remarks

cn is the user or group name used to retrieve data from Microsoft Active Directory directory service using the Lightweight Directory Access Protocol (LDAP).

See Also

Reference

MembershipInfo Class

MembershipInfo Members

MembershipInfo Overload

Microsoft.Office.Server.Audience Namespace