Microsoft Information Protection (MIP) SDK for C++: Reference 1.15
Doxygen-generated documentation for MIP SDK written in C++
Loading...
Searching...
No Matches
UserRights Class Reference

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

#include <src/api/mip/user_rights.h>

Public Member Functions

const std::vector< std::string > & Rights () const
 Gets rights associated with a group of users.
 
 UserRights (const std::vector< std::string > &users, const std::vector< std::string > &rights)
 UserRights constructor.
 
const std::vector< std::string > & Users () const
 Gets users associated with a set of rights.
 

Detailed Description

A group of users and the rights associated with them.

Definition at line 46 of file user_rights.h.

Constructor & Destructor Documentation

◆ UserRights()

UserRights::UserRights ( const std::vector< std::string > & users,
const std::vector< std::string > & rights )
inline

UserRights constructor.

Parameters
usersGroup of users that share the same rights
rightsRights shared by group of users

Definition at line 54 of file user_rights.h.

54: mUsers(users), mRights(rights) {}

Member Function Documentation

◆ Rights()

const std::vector< std::string > & UserRights::Rights ( ) const
inline

Gets rights associated with a group of users.

Returns
Rights associated with a group of users

Definition at line 68 of file user_rights.h.

68{ return mRights; }

◆ Users()

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

Gets users associated with a set of rights.

Returns
Users associated with a set of rights

Definition at line 61 of file user_rights.h.

61{ return mUsers; }

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