Condividi tramite


OrganizationProfile.GetUsers Method

Gets all members of this organization whose membership type matches the specified Microsoft.Office.Server.UserProfiles.OrganizationMembershipType.

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

Syntax

'Declaration
Public Function GetUsers ( _
    type As OrganizationMembershipType _
) As UserProfile()
'Usage
Dim instance As OrganizationProfile
Dim type As OrganizationMembershipType
Dim returnValue As UserProfile()

returnValue = instance.GetUsers(type)
public UserProfile[] GetUsers(
    OrganizationMembershipType type
)

Parameters

Return Value

Type: []

See Also

Reference

OrganizationProfile Class

OrganizationProfile Members

Microsoft.Office.Server.UserProfiles Namespace