Microsoft Information Protection SDK - C++ 1.17
API Reference Documentation for C++
Loading...
Searching...
No Matches
UserRoles Class Reference

A group of users and the roles associated with them. More...

#include <user_roles.h>

Public Member Functions

 UserRoles (const std::vector< std::string > &users, const std::vector< std::string > &roles)
 UserRoles constructor.
 
const std::vector< std::string > & Users () const
 Gets users associated with a set of roles.
 
const std::vector< std::string > & Roles () const
 Gets roles associated with a group of users.
 

Private Attributes

std::vector< std::string > mUsers
 
std::vector< std::string > mRoles
 

Detailed Description

A group of users and the roles associated with them.

Constructor & Destructor Documentation

◆ UserRoles()

UserRoles::UserRoles ( const std::vector< std::string > & users,
const std::vector< std::string > & roles )
inline

UserRoles constructor.

Parameters
usersGroup of users that share the same roles
rolesRoles shared by group of users

Member Function Documentation

◆ Roles()

const std::vector< std::string > & UserRoles::Roles ( ) const
inline

Gets roles associated with a group of users.

Returns
Roles associated with a group of users

◆ Users()

const std::vector< std::string > & UserRoles::Users ( ) const
inline

Gets users associated with a set of roles.

Returns
Users associated with a set of roles

Member Data Documentation

◆ mRoles

std::vector<std::string> UserRoles::mRoles
private

◆ mUsers

std::vector<std::string> UserRoles::mUsers
private

The documentation for this class was generated from the following file: