共用方式為


2.2.5.22 RoleMembership Object

The RoleMembership object defines a user principal that belongs to the Role object. It is a child of a Role object.

The RoleMembership object has the following properties.

Name

Type

Description

ID

unsignedLong

A reference to the object.

RoleID

unsignedLong

An ID-based reference to a Role object.

MemberName

string

The security name that identifies the user or group of the member.

MemberID

string

A string that uniquely identifies the member. The MemberID property is generated by the server.

IdentityProvider

string

A string that defines the identity provider that MUST be used for authentication of a user.<70>

MemberType

enumeration

Indicates whether the particular member of a security role is an individual user or a group of users, or whether the member is automatically detected.<71> The possible values are as follows:

  • Auto (1) – Member of security role is automatically detected.

  • User (2) – Member of security role is an individual user.

  • Group (3) - Member of security role is a group of users.

ModifiedTime

dateTime

The time that the object was last modified.