A personality that a user assumes when performing a specific set of operations. A role
includes a set of right and privileges. A user assuming that role inherits those rights
and privileges.
Inheritance Hierarchy
Namespace: net.openstack.Core.DomainAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax [JsonObjectAttribute(MemberSerialization.OptIn)]
public class Role : ExtensibleJsonObject
<JsonObjectAttribute(MemberSerialization.OptIn)>
Public Class Role
Inherits ExtensibleJsonObject
[JsonObjectAttribute(MemberSerialization::OptIn)]
public ref class Role : public ExtensibleJsonObject
[<JsonObjectAttribute(MemberSerialization.OptIn)>]
type Role =
class
inherit ExtensibleJsonObject
end
The Role type exposes the following members.
Constructors
| Name | Description |
---|
| Role |
Initializes a new instance of the Role class with
the specified name and description.
|
TopProperties
| Name | Description |
---|
| Description |
Gets a description of the role, if one is provided.
|
| ExtensionData |
Gets a map of object properties which did not map to another field or property
during JSON deserialization. The keys of the map represent the property names,
and the values are JToken instances containing the parsed JSON
values.
(Inherited from ExtensibleJsonObject.) |
| Id |
Gets the unique identifier for the role.
|
| Name |
Gets the name of the role.
|
TopRemarks
In OpenStack Identity Service, a token that is issued to a user includes the list of
roles that user can assume. Services that are being called by that user determine how
they interpret the set of roles a user has and to which operations or resources each
role grants access.
Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
Thread Safety Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also