Role Element (ASSL)

Contains information about a security role.

Syntax

<Roles>
      <Role>
      <Name>...</Name>
      <ID>...</ID>
      <CreatedTimestamp>...</CreateTimestamp>
      <LastSchemaUpdate>...</LastSchemaUpdate>
      <Description>...</Description>
      <Members>...</Members>
      <Annotations>...</Annotations>
   </Role>
</Roles>

Element Characteristics

Characteristic Description

Data type and length

None

Default value

None

Cardinality

0-n: Optional element that can occur more than once.

Element Relationships

Relationship Element

Parent elements

Roles

Child elements

Annotations, CreatedTimestamp, Description, ID, LastSchemaUpdate, Members, Name

Remarks

The definition of the role includes the users that are members of the role.

The corresponding element in the Analysis Management Objects (AMO) object model is Role.

See Also

Reference

Database Element (ASSL)
Server Element (ASSL)
Objects (ASSL)

Help and Information

Getting SQL Server 2005 Assistance