다음을 통해 공유


Membership Members

Include Protected Members
Include Inherited Members

Represents a single user's membership in a single member group.

The Membership type exposes the following members.

Properties

  Name Description
Public property Group Gets or sets the group for the privacy item. (Inherited from PrivacyItem.)
Public property GroupType Gets and sets the type of membership group.
Public property ID Gets the unique identifier (ID) of the privacy item. (Inherited from PrivacyItem.)
Public property IsEditable Returns a Boolean value that specifies whether a privacy item can be edited. (Inherited from PrivacyItem.)
Public property IsPrivacyLevelEditable Returns a Boolean value that specifies whether a privacy level can be edited. (Inherited from PrivacyItem.)
Public property IsTitleEditable Returns a Boolean value that specifies whether a privacy item title can be edited. (Inherited from PrivacyItem.)
Public property IsUrlEditable Returns a Boolean value that specifies whether a privacy item URL can be edited. (Inherited from PrivacyItem.)
Public property ItemOwner Gets the owner of the privacy item. (Inherited from PrivacyItem.)
Public property MembershipGroup Gets the membership group.
Protected property PartitionID (Inherited from PrivacyItem.)
Public property Policy Gets the privacy policy for a specified membership. (Overrides PrivacyItem.Policy.)
Public property PrivacyLevel Gets and sets the privacy level of an item. (Inherited from PrivacyItem.)
Public property Title Gets or sets the title of the privacy item. (Inherited from PrivacyItem.)
Public property Url Gets or sets the URL for the privacy item. (Inherited from PrivacyItem.)
Protected property ValidGroupEnumType This member is reserved for internal use and is not intended to be used directly from your code. (Overrides PrivacyItem.ValidGroupEnumType.)

Top

Methods

  Name Description
Protected method AddCustomCommitFields This member is reserved for internal use and is not intended to be used directly from your code. (Overrides PrivacyItem.AddCustomCommitFields(SqlCommand).)
Public method Commit Commits changes made to a membership. (Overrides PrivacyItem.Commit().)
Public method Delete Deletes a membership. (Overrides PrivacyItem.Delete().)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Protected method GetPrivacyPolicy This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from PrivacyItem.)
Public method GetType (Inherited from Object.)
Protected method InitializeNewPrivacyItem This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from PrivacyItem.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method SetPropertyValues Sets the property values of a membership. (Overrides PrivacyItem.SetPropertyValues(SqlDataReader).)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Protected field m_bIsNewLink This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from PrivacyItem.)
Protected field m_objOwnerProfile This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from PrivacyItem.)
Protected field m_strGroup This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from PrivacyItem.)
Protected field m_strTitle This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from PrivacyItem.)
Protected field m_strUrl This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from PrivacyItem.)

Top

See Also

Reference

Membership Class

Microsoft.Office.Server.UserProfiles Namespace