Share via


SPWebService.MembershipUserKeyType Property

Gets or sets a value that represents the user identifier from the membership data source for the user.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

Public Property MembershipUserKeyType As SPMembershipUserKeyType
    Get
    Set

Dim instance As SPWebService
Dim value As SPMembershipUserKeyType

value = instance.MembershipUserKeyType

instance.MembershipUserKeyType = value
public SPMembershipUserKeyType MembershipUserKeyType { get; set; }

Property Value

Type: Microsoft.SharePoint.Administration.SPMembershipUserKeyType
Returns an SPMembershipUserKeyType-enumerated property that specifies whether the associated object is a username or is a provider user key.

Remarks

The enumeration serves as a Boolean variable; however, the username value is a known constant and the provider user key value is a language-dependent or implementation-dependent numeric value.

See Also

Reference

SPWebService Class

SPWebService Members

Microsoft.SharePoint.Administration Namespace

ProviderUserKey

Other Resources

MembershipUser Properties